package com.badger.generator.base.entity;

import java.io.Serializable;

import com.alibaba.fastjson.JSONObject;

/**
 * 基础实体类
 * @author liqi
 */
public class BaseEntity implements Cloneable, Serializable {

    private static final long serialVersionUID = -9207623058604318517L;

    @Override
    public BaseEntity clone() throws CloneNotSupportedException {
        return (BaseEntity) super.clone();
    }

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }

}